package com.woniuxy.dao;

import com.woniuxy.pojo.Car;
import com.woniuxy.pojo.CurrentUnit;
import com.woniuxy.pojo.FeesManager;
import com.woniuxy.pojo.User;

import java.util.List;

public interface FeesManagerMapper {

    public List<FeesManager> selectFeesManagersByProperty(FeesManager feesManager);

    public List<Car> selectAllCarById(int id);
    public List<Car> selectAllCars();
    public List<User> selectAllUsers();
    public List<User> selectAllUserById(int id);
    public List<CurrentUnit> selectAllUnitById(int id);
    public List<CurrentUnit> selectAllUnit();
    public void deleteFeesManagerById(int id);

    /**
     * 增加规费记录
     * @param
     * @return
     */
    public int insertFeesManager(FeesManager feesManager);

    /**
     * 修改规费记录
     * @param
     * @return
     */
    public int updataFeesManager(FeesManager feesManager);
}
